|
|
|
|
|
|
|
1. What SQL statement do you use to insert a single data record into a table? What is the basic form of this statement? |
|
|
|
|
|
|
|
|
2. What SQL statement do you issue to insert multiple data records into a table? What is its format? |
|
|
|
|
|
|
|
|
3. What SQL statement do you use to modify data that is already in a data table? What is the form of this statement? |
|
|
|
|
|
|
|
|
4. What SQL statement is used to create new tables that include data from other tables? What is the format of this statement? |
|
|
|
|
|
|
|
|
5. What SQL statement do you use to delete one or more records from a data table? What is the basic format of this statement? |
|
|
|
|
|
|
|
|
1. Modify the SQL-VB5 script you created in Exercise 1 of Day 13 to add the following records. |
|
|
|
|
|
|
|
|
|
Data for the CustomerType Table |
|
|
|
| | | | | | | | | |
|
|
|
|
Data for the Customers Table |
|
|
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
|
|
|
|
|
|
2. Create a third table that includes data from the CustomerID, City, and State fields of the Customers table. Call your table Localities. |
|
|
|
|
|
|
|
|
3. Write an SQL statement that would delete the SMITHJ record from the Customers table. What SQL statement would you issue to delete the entire Customers table? |
|
|
|
|
|